import React from 'react'
import ReactDOM from 'react-dom/client'
import { RouterProvider } from 'react-router-dom';
import { Provider } from "react-redux"
import store from './store'
// import AppRoutes from '@/router';
import './index.css'
import "@arco-design/web-react/dist/css/arco.css";
import "../mockjs/index"
import routes from "@/router"


ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    <Provider store={store}>
      <RouterProvider router={routes} />
    </Provider>
  </React.StrictMode>
)
